package com.gdkj.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "cmf_users_video_like")
public class UsersVideoLike {

    /**
     * 主键id
     */
    @Id
    private Long id;

    /**
     * 用户id
     */
    private Long uid;

    /**
     * 动态id
     */
    @Column(name = "videoid")
    private Long videoId;

    /**
     * 添加时间戳
     */
    @Column(name = "addtime")
    private Long addTime;

    /**
     * 视频是否被删除或被拒绝 0被删除或被拒绝 1 正常
     */
    private Integer status;

    /**
     * 是否已读0/1
     */
    @Column(name = "is_read")
    private Integer isRead;

    /**
     * 视频所有者的ID
     */
    @Column(name = "touid")
    private Long toUid;
}